package com.parkwalk.xxx.persistence;

import com.parkwalk.xxx.domain.User;

/**
 * @author borball.zh@gmail.com
 * @date 2012-5-1
 * 
 */
public interface UserMapper extends Mapper<User> {

	public void deleteByID(int id);
	public void deleteByUsername(String username);
	public User findByMail(String mail);
	public User findByUsername(String username);
	public void updatePassword(User user);
	
}
